package com.xuecheng.base.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @description 分页查询通用参数
 * @author Mr.M
 * @date 2022/9/6 14:02
 * @version 1.0
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="分页查询通用参数",description = "分页查询通用参数")
public class PageParams {

  //当前页码
  @ApiModelProperty("页码默认值是1")
  private Long pageNo = 1L;

  //每页记录数默认值
  @ApiModelProperty("记录数默认值是10")
  private Long pageSize =10L;





}